////////////////////////////////////////////////
// File: Sysdept.java
// Description: Enter summary here after generation.
// Date: 2016-09-23 09:09:33
// Web: http://www.elanzhou.com/
////////////////////////////////////////////////
package com.mvc.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import java.text.SimpleDateFormat;
/**
 * sysdept entity. @author 马威
 */
@Entity
@Table(name = "sysdept")
public class Sysdept implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	@Id
	@Basic(optional = false)
	@GeneratedValue(strategy = GenerationType.IDENTITY)   
    @Column(name = "ID", nullable = false)
	private Integer ID;
    //部门名称
    @Column(name = "deptname")
	private  String Deptname;
    //上级部门
    @Column(name = "fname")
	private  String Fname;
    public int getId() {
       return this.ID;
	   }
	public void setId(int ID) {
	   this.ID = ID;
       }
    public String getDeptname() {
       return this.Deptname;
	   }
	public void setDeptname(String Deptname) {
	   this.Deptname = Deptname;
	   }
    public String getFname() {
       return this.Fname;
	   }
	public void setFname(String Fname) {
	   this.Fname = Fname;
	   }

}